Skip to content

tools: Build arm32 ghcr build images on aarch64 nodes#4155

Merged
karianna merged 4 commits intoadoptium:masterfrom
Haroon-Khel:arm32.ghcr.buildimages
Dec 3, 2025
Merged

tools: Build arm32 ghcr build images on aarch64 nodes#4155
karianna merged 4 commits intoadoptium:masterfrom
Haroon-Khel:arm32.ghcr.buildimages

Conversation

@Haroon-Khel
Copy link
Contributor

@Haroon-Khel Haroon-Khel commented Nov 25, 2025

  • commit message has one of the standard prefixes
  • faq.md updated if appropriate
  • other documentation is changed or added (if applicable)
  • playbook changes run through VPC or QPC (if you have access)
  • VPC/QPC not applicable for this PR
  • for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

ref #4088 (comment)

}

def dockerBuildArm32(architecture, distro, dockerfile) {
sh "rm -vf *.sha256"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to check for existence first?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-f should mean that's not required.

@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Nov 26, 2025

@Haroon-Khel
Copy link
Contributor Author

Had to add build_image_updater.*| to the Restrict jobs at execution field for dockerhost-osuosl-ubuntu2404-aarch64-2, currently only -3 has it and was the only dockerBuild&&linux&&aarch64 node able to run image builds for aarch64

@Haroon-Khel
Copy link
Contributor Author

@Haroon-Khel
Copy link
Contributor Author

Its pulling the correct bootjdks, unlike last time

root@68b460d2d473:/usr/lib/jvm# file jdk11/bin/java
jdk11/bin/java: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, not stripped

@Haroon-Khel
Copy link
Contributor Author

Forgot to archive the sha of the build image after building. Rerunning https://ci.adoptium.net/job/build_image_updater/121/console

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll also note that it may be interesting to write a blog post about what we're doing in this area and talking about the technical changes required to move from building container images on native machines to aarch64 host systems.

(To be clear, I'm happy to write something myself if you'd prefer, but I don't want to take it away from you!)

@karianna karianna merged commit 117bfdb into adoptium:master Dec 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants